import os


def git_pull():
    """
    bit tracker 仓库 git 备份
    :return:
    """
    inputStr = 'git pull'
    work_dir = os.getcwd()
    print(work_dir)
    os.chdir("D:/ext/TrackersListCollection")
    popen = os.popen(inputStr)
    print(popen.read())


if __name__ == '__main__':
    git_pull()
    input("请输入：")
